<?php
// I18N support information here
$language = 'es_MX';
putenv("LANG=$language"); 
setlocale(LC_ALL, $language);

//putenv("LANGUAGE=$locale"); 
//putenv("LANG=$locale");
//setlocale(LC_MESSAGES,''); 


// Set the text domain as 'messages'
$domain = 'messages';
bindtextdomain($domain, "local/"); 
textdomain($domain);

echo gettext("A string to be translated would go here");
?>
